package com.ysd.lis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 *
 * @author LuoXS
 * @date 2024/4/28
 * version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("WK_CALC_BATCH")
public class WkCalcBatch extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 批次日期
     */
    @TableField("BATCH_DATE")
    private String batchDate;

    /**
     * 批次号
     */
    @TableField("BATCH_CODE")
    private String batchCode;

    /**
     * 批次号
     */
    @TableField("BATCH_NAME")
    private String batchName;

    /**
     * 批次参数
     */
    @TableField("BATCH_PARAMS")
    private String batchParams;

    /**
     * 开始日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @TableField("START_DATE")
    private Timestamp startDate;

    /**
     * 结束日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @TableField("END_DATE")
    private Timestamp endDate;

}
